package com.heima.model.schedule.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**

 * @author itheima
 */
@Data
@TableName("taskinfo")
public class Taskinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    // 任务id
    @TableId(type = IdType.ID_WORKER)
    private Long taskId;
    //执行时间
    @TableField("execute_time")
    private Date executeTime;
    //参数
    @TableField("parameters")
    private byte[] parameters;
    // 优先级
    @TableField("priority")
    private Integer priority;
    // 任务类型
    @TableField("task_type")
    private Integer taskType;

}